x86/pvh: use a custom IO bitmap for PVH hardware domains
authorRoger Pau Monné <roger.pau@citrix.com>
Fri, 8 May 2015 09:05:29 +0000 (11:05 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 8 May 2015 09:05:29 +0000 (11:05 +0200)
commite5786bae04c3ebf6b122b2d983a946ff29308781
tree239f65617fd75b3457f33dd889ffaf311fb05c61
parent61319fbfd9ca6d06c3b687621b4d7d17b428677f
x86/pvh: use a custom IO bitmap for PVH hardware domains

Since a PVH hardware domain has access to the physical hardware create a
custom more permissive IO bitmap. The permissions set on the bitmap are
populated based on the contents of the ioports rangeset.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/vmcb.c
xen/arch/x86/hvm/vmx/vmcs.c
xen/arch/x86/setup.c
xen/common/domain.c
xen/include/asm-x86/hvm/domain.h
xen/include/asm-x86/setup.h